-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
op-node: Execution Layer Sync #8968
Conversation
9a6deba
to
c72087a
Compare
812932c
to
96024d1
Compare
c72087a
to
bda0aed
Compare
96024d1
to
fe72b65
Compare
bda0aed
to
77c8d14
Compare
fe72b65
to
897fa18
Compare
77c8d14
to
1c5bb32
Compare
897fa18
to
4077200
Compare
1c5bb32
to
ef9d9fe
Compare
26f824a
to
a7c3286
Compare
ef9d9fe
to
bb04c92
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #8968 +/- ##
===========================================
- Coverage 28.53% 0.69% -27.85%
===========================================
Files 166 87 -79
Lines 7236 2155 -5081
Branches 1235 500 -735
===========================================
- Hits 2065 15 -2050
+ Misses 5050 2140 -2910
+ Partials 121 0 -121
Flags with carried forward coverage won't be shown. Click here to find out more. |
Semgrep found 10
Named return arguments to functions must be appended with an underscore ( |
0aa9f05
to
155d58c
Compare
WalkthroughWalkthroughThe changes involve integrating P2P (peer-to-peer) functionality and enhancing synchronization features across several components of a blockchain-related codebase. New methods and configurations have been added to handle P2P connections, sync status, and unsafe payload insertion. Modifications to the test suites suggest that these features are also being verified for correctness and stability. The changes indicate a focus on networking capabilities and data consistency within the system. Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
b376643
to
4286981
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally looks good, but I am wondering how we exit a syncing engine status when there is no derivation or p2p activity.
4286981
to
32cb7a8
Compare
Semgrep found 2 Named return arguments to functions must be appended with an underscore ( Semgrep found 1
Malformed require statement style. Ignore this finding from sol-style-malformed-require. |
32cb7a8
to
81a7a87
Compare
This passes unsafe payloads directly the EngineController for immediate insertion when Execution Layer sync is active. This tells the execution client to sync to that target. Once the EL sync is complete, the last unsafe payload is marked as safe. This is required when doing snap sync because the EL does not have the pre-state required to do the engine consolidation until the sync is complete.
81a7a87
to
000ea84
Compare
* op-node: Execution Layer Sync This passes unsafe payloads directly the EngineController for immediate insertion when Execution Layer sync is active. This tells the execution client to sync to that target. Once the EL sync is complete, the last unsafe payload is marked as safe. This is required when doing snap sync because the EL does not have the pre-state required to do the engine consolidation until the sync is complete. * op-e2e: Snap Sync action test * op-e2e: Actually run TestSystemE2E * op-service/node: Add time.Since to Clock & use it
Description
This passes unsafe payloads directly the EngineController for immediate
insertion when Execution Layer sync is active. This tells the execution
client to sync to that target. Once the EL sync is complete, the last
unsafe payload is marked as safe. This is required when doing snap sync
because the EL does not have the pre-state required to do the engine
consolidation until the sync is complete.
Tests
I've manually tested this code & also have added an action test.
Metadata